Skip to content

Conversation

@anacrolix
Copy link
Contributor

@anacrolix anacrolix commented Jan 22, 2026

I added a subcommand to check webseed snapshot data matches the preverified/chain.tomls after we had an issue with a torrent file not matching its data file on hoodi.

I'm not sure where the command should go, or what it should be called. I put it as snapshots preverified for now in cmd/erigon, but it doesn't quite fit in with the flags and assumed handling that occurs. So maybe it belongs in cmd/downloader.

It reuses the --preverified flag from snapshots reset, which is very useful.

I also exported the signal listener for use with subcommands, not just the default command, so you can cancel them and get proper cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants